#aiDoctorIcon {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background-color: #007bff;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
}
/* 聊天气泡的基本样式 */
.message-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.user-avatar {
    background-color: #007bff;
    color: white;
}

.ai-avatar {
    background-color: #28a745;
    color: white;
}

/* 用户消息气泡 */
.message-bubble {
    max-width: 60%;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    word-wrap: break-word;
}

/* 用户消息 */
.user-bubble {
    background-color: #f0f0f0;
    color: #333;
    align-self: flex-start;
    margin-left: 10px;
}

/* AI 消息 */
.ai-bubble {
    background-color: #28a745;
    color: white;
    align-self: flex-end;
    margin-right: 10px;
}

/* AI 对话框 */
#aiDoctorDialog {
    background-color: white;
    padding: 15px;
    border-radius: 12px;
    width: 320px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
}

/* 输入框和按钮 */
#aiInput {
    width: 100%;
    padding: 8px 12px;
    border-radius: 20px;
    border: 1px solid #ccc;
    margin-top: 10px;
    font-size: 14px;
}

#aiSendBtn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    margin-top: 10px;
}

#aiSendBtn:hover {
    background-color: #0056b3;
}
